package MP.ASTs;

import MP.CompilationException;
import MP.lexicalanalysis.Token;

public class ArrayTypeAST extends TypeAST {
	public PrimTypeAST	type;
	public Token		lower;
	public Token		upper;
	public ArrayTypeAST(PrimTypeAST prim,Token n1, Token n2 ){
		type=prim;
		lower=n1;
		upper=n2;
		type.parent=this;		
	}
	public Object visit(Visitor v, Object o) throws CompilationException{
		return v.visitArrayTypeAST(this,o);
	}
}